package pers.dawnyang.modular.system.domain.request.role;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * 
 * @author: dawn yang
 * @date: 2021-02-10 10:16:59
 * 
 */

@Data
public class RoleReqU implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @NotBlank(message = "角色编码不能为空")
    private String roleCode;

    @NotBlank(message = "角色名不能为空")
    private String roleName;

    private Long roleSort;

    @NotNull(message = "状态不能为空")
    private Integer roleStatus;

    private String remark;
}
